package com.wzh.mall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.EAN;

import javax.validation.constraints.Max;
import java.util.List;

/**
 * @program: mall 二级分类vo
 * @description:
 * @author: Mr.Wang
 * @create: 2021-09-08 20:44
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Catelog2Vo {

    private String catalog1Id; //一级父分类id
    private List<Catelog3Vo> catalog3List; //三级子分类
    private String id;
    private String name;


    /**
      * @Description: 三级分类vo
      * @Param: 
      * @return: 
      * @Author: Mr.Wang
      * @Date: 2021/9/8
      * @Time: 20:54
      */      
      
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class Catelog3Vo{
        private String catalog2Id;// 父分类 2级分类id
        private String id;
        private String name;
    }

}
